csd: Drop the GTK_FRAME_EXTENTS requirement
authorMatthias Clasen <mclasen@redhat.com>
Fri, 4 Apr 2014 05:28:09 +0000 (01:28 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 4 Apr 2014 05:28:09 +0000 (01:28 -0400)
We are getting bug reports from people who are irritated that
dialogs now have 'double headers' under any wm but gnome-shell.

As an example, xfwm4 seems to do ok with csd windows, and
on balance it seems better to have some invisible border issues
than to have double headers.

https://bugzilla.gnome.org/show_bug.cgi?id=727414

gtk/gtkwindow.c

index bc9f8de045eafc6674e3b7f55de2737ef73c298a..d7911869bfa738a6af1c7553ee2b5cbe637cdeb8 100644 (file)
@@ -3615,9 +3615,6 @@ gdk_window_supports_csd (GtkWindow *window)
       if (!gdk_screen_is_composited (screen))
         return FALSE;
 
-      if (!gdk_x11_screen_supports_net_wm_hint (screen, gdk_atom_intern_static_string ("_GTK_FRAME_EXTENTS")))
-        return FALSE;
-
       /* We need a visual with alpha */
       visual = gdk_screen_get_rgba_visual (screen);
       if (!visual)